package com.xiao.mall.example.service.mapper;

import com.xiao.mall.client.message.dto.UserDto;
import com.xiao.mall.example.domain.User;
import com.xiao.mall.foundation.mapper.EntityMapper;
import org.mapstruct.*;

@Mapper(componentModel = "spring",
        uses = {},
        unmappedSourcePolicy = ReportingPolicy.IGNORE,
        unmappedTargetPolicy = ReportingPolicy.IGNORE,
        //转换不来指定对象问题
        builder = @Builder(disableBuilder = true))
public interface UserMapper extends EntityMapper<UserDto, User> {

}
